<h2>Add Subscriber</h2>
<hr/>
<p>Enter subscriber information into the following fields:</p>
<p>NB: All fields marked with an asterisk are required '*'</p>
<center>
<div class="errorval"><?php echo validation_errors(); ?>
<?php echo $error; ?></div>
<table>
<?php echo form_open('staff/subscriber_management/addSubscriber/'); ?>
<tr>
	<th width=30% align="right">* Subscriber Number:</th>
	<td><?php echo form_input('subscriber_id', $subscriber_id); ?></td>
</tr>
<tr>
	<th align="right">* First Name:</th>
	<td><?php echo form_input('first_name', set_value('first_name')); ?></td>
</tr>
<tr>
	<th align="right">* Last Name:</th>
	<td><?php echo form_input('last_name', set_value('last_name')); ?></td>
</tr>
<tr>
	<th align="right">Initials:</th>
	<td><?php echo form_input('initials', set_value('initials')); ?></td>
</tr>
<tr>
	<th align="right">Title:</th>
	<td><?php echo form_input('title', set_value('title')); ?></td>
</tr>
<tr>
	<th align="right">* Address 1:</th>
	<td><?php echo form_input('address1', set_value('address1')); ?></td>
</tr>
<tr>
	<th align="right">Address 2:</th>
	<td><?php echo form_input('address2', set_value('address2')); ?></td>
</tr>
<tr>
	<th align="right">* Suburb:</th>
	<td><?php echo form_input('suburb', set_value('suburb')); ?></td>
</tr>
<tr>
	<th align="right">* Post Code:</th>
	<td><?php echo form_input('post_code', set_value('post_code')); ?></td>
</tr>
<tr>
	<th align="right">Phone:</th>
	<td><?php echo form_input('phone', set_value('phone')); ?></td>
</tr>
<tr>
	<th align="right">Mobile Phone:</th>
	<td><?php echo form_input('mobile_phone', set_value('mobile_phone')); ?></td>
</tr>
<tr>
	<th align="right">Work Phone:</th>
	<td><?php echo form_input('work_phone', set_value('work_phone')); ?></td>
</tr>
<tr>
	<th align="right">* Subscriber Status:</th>
	<?php $options = array('A'=>'Active', 'I'=>'Inactive', 'H'=>'Honorary', 'D'=>'Deceased'); ?>
	<td><?php echo form_dropdown('subscriber_status', $options, set_value('subscriber_status')); ?></td>
</tr>
<tr>
	<th align="right">Email:</th>
	<td><?php echo form_input('email', set_value('email')); ?></td>
</tr>
<tr>
	<th align="right" class="tablehead">Actions</th>
	<td><?php echo form_submit('', 'Submit'); ?></td>
</tr>
<?php echo form_close(); ?>
</table>
</center>
